class Metadata(object):
    def __init__(self, topicname, payload):
        self.__topicName = topicname
        self.__payload = payload

    def get_topic(self):
        return self.__topicName

    def get_payload(self):
        return self.__payload
